|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The generic type of individuals.public interface ISelector<T extends IIndividual<T>>
Interface for an individual selector.
| Method Summary | |
|---|---|
void |
insert(IndividualList<T> list,
IPopulation<T> population,
boolean useEliteStrategy)
Inserts individuals into the population. |
IndividualList<T> |
select(IPopulation<T> population)
Selects individuals from the population. |
| Method Detail |
|---|
IndividualList<T> select(IPopulation<T> population)
population - The population to select from.
void insert(IndividualList<T> list,
IPopulation<T> population,
boolean useEliteStrategy)
list - The individuals to insert.population - The population to insert to.useEliteStrategy - Use the elite strategy if true. That will prevent the
elite from being replaced during insertion.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||